home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 4 / United Public Domain Gold 4.iso / tbag / tb015.dms / tb015.adf / Doc-Files / Utilities.Doc < prev    next >
Text File  |  1988-01-02  |  31KB  |  716 lines

  1.  
  2. Utilities.Docs
  3. This file includes Documentation for all files in the Utilities Drawer. They 
  4. have all been combined into one to save disk space.
  5.  
  6. The Docs included in this file are:
  7. Mach.Doc
  8. EA-Fix.Doc
  9. VirusChecker.Doc
  10. WB-Depth.Doc
  11. ScrinkWrap.Doc
  12. DropCloth.Doc
  13.  
  14. Doc File Headers are in RED!
  15.  
  16. *****************************************************************************
  17. Mach -  Mouse Accelerator with Hotkey.           Version 1.4  12-23-87.
  18. MachClk - Mach + Title Bar Clock and Beeper.     Version 1.0  12-23-87.
  19.  
  20.  
  21.     NOTES: 1. Mach is identical to MachClk minus the clock. Features that
  22.               apply only to MachClk are so noted.
  23.  
  24.            2. References in this document to "Qualifier" means either the
  25.               left or right Alternate or Amiga keys depending on whether
  26.               or not you use "-a" on the command line.
  27.  
  28.            3. When used on the command line, function keys are single digits.
  29.               1 is F1, 2 is F2, 9 is F9, and 0 is F10.
  30.  
  31.     USAGE:
  32.  
  33.        Run Mach [nscmdaeb] hotkeystring hotkeystring...hotkeystring
  34.                             or
  35.        Run Mach [nscmdaeb] +1hotkeystring +2hotkeystring...+nhotkeystring
  36.  
  37.                             or
  38.  
  39.        Run MachClk [nscmdaebkt] hotkeystring hotkeystring...hotkeystring
  40.                             or
  41.        Run MachClk [nscmdaebkt] +1hotkeystring +2hotkeystring...+nhotkeystring
  42.  
  43.  
  44.      Arguments: All optional. Any order.
  45.  
  46.      -n    Acceleration factor where n >= 0 && n <=9.
  47.      -s    Removes sunmouse.
  48.      -c    Removes click to front.
  49.      -m    Removes the trapping of left-amiga-m. (allows normal use)
  50.      -d    Adds double control feature.
  51.      -a    Use the Amiga keys as qualifiers.
  52.      -estr Use str as execute string. Default is "NewCLI >nil: <nil:".
  53.      -bnn  Time delay before blanking screen. 0-99 minutes. 0 = no blank.
  54.      -knnn Put Clock left edge at nnn. (MachClk only)
  55.      -tnn  Beep every nn minutes. Default 15. (MachClk only)
  56.  
  57.  
  58.     Hotkeys:
  59.  
  60.        The hotkeys are the keys F1 to F10 qualified with the left or
  61.        right alternate keys. If you prefer to use left or right Amiga, put
  62.        -a on the command line. This makes it more compatible with WordPerfect
  63.        and other programs that make use of alternate-function keys.
  64.        The escape character "\" may be used to introduce newline or a function
  65.        key or to add qualifiers.
  66.          \n  newline
  67.          \c  control
  68.          \a  alternate
  69.          \A  Amiga
  70.          \s  shift
  71.          \f  function key where f is 1-0 = F1-F10
  72.  
  73.          c, a, A, s modifiy the next letter. They can be combined.
  74.          c, s, and n may be upper case.
  75.          Examples:
  76.               \C\a\3  sends Control-Alternate-F3.
  77.               \A\0    sends Amiga-F10.
  78.  
  79.          Hotkeys may call other hotkeys.
  80.  
  81.        The hotkeys are defined in the command line following the optional
  82.        options. Definitions with embedded spaces should use "".
  83.        They may be positional, that is, the first definition is matched
  84.        with F1 and the second with F2. Or, you may specify a function key
  85.        with +n. n = 1 - 0. 0 is F10. No spaces may follow the key number.
  86.        e.g. Run Mach "+5diskcopy df0: to df1:\n"
  87.        See more examples below.
  88.        You may redefine hotkeys by running Mach again with new definitions.
  89.        e.g. Mach +3dir\n "+0run df1:wp\n"
  90.  
  91.     Accelerator:
  92.  
  93.        The accelerator speeds up mouse movements. It accepts as an argument
  94.        a number, 0-9, which sets its speed.
  95.        -1 is the default, -0 = no acceleration. (I use -4).
  96.  
  97.     NewCLI:
  98.  
  99.        The qualifier and ESCape combination will create a NewCLI.
  100.        You need to have NewCLI and Run in the c: directory. You can change
  101.        this from NewCLI to another command with -estring. A full window
  102.        can be used with "-eNewCLI CON:0/0/640/200/MyCLI".
  103.        The NewCLI will have the same size stack as Mach.
  104.  
  105.     Screen Blanker:
  106.  
  107.        After 5 minutes of no mouse or keyboard activity, the screen will
  108.        go blank. You can change this default with -bnn where nn = 0 - 99
  109.        minutes. 0 disables blanking.
  110.        Instant blanking: Control-Qualifier-F2.
  111.  
  112.     Sun Mouse:
  113.  
  114.        The window that the pointer is over becomes the active window
  115.        after the first mouse movement. To be able to drag icons, the
  116.        sun mouse is disabled while the left button is held down.
  117.        If you don't want the sun mouse, use -s on the command line.
  118.        On/off toggle: Control-Qualifier-F3.
  119.  
  120.     Click To Front:
  121.  
  122.        You can click in any part of a window and bring it to the front.
  123.        If you don't want this, use -c on the command line.
  124.        On/off toggle: Control-Qualifier-F4.
  125.  
  126.     Screen Shuffler:
  127.  
  128.        Left-Amiga-M will push the front screen to the back instead of
  129.        pushing workbench screen to the back.
  130.        Left-Amiga-N will still bring the workbench to the front.
  131.        This is useful if you have more than two screens on at once,
  132.        especially if they don't have screen depth gadgets.
  133.        If you don't want this feature, use -m on your command line.
  134.        On/off toggle: Control-Qualifier-F5.
  135.  
  136.     Clock:
  137.  
  138.        MachClk has a title bar clock that displays available memory and the
  139.        time. You can change its left edge position with -knnn. For no clock
  140.        use -k0 or -k. The clock is updated every second and brings itself
  141.        to the front (if covered up) every 4 seconds except when the left
  142.        button is held down. The current toggles are shown in the left corner.
  143.        They are s: sun mouse, c: click to front, m: Amiga-M screen shuffler,
  144.        d: double control, a: Alternate/Amiga qualifiers.
  145.        On/off toggle: Control-Qualifier-F8.
  146.  
  147.     Beeper:
  148.  
  149.        MachClk (when the clock is activated) has a beeper (to keep you awake)
  150.        which defaults to a 15 minute interval. Change this with -tnn.
  151.        nn = 0 to 60 minutes.
  152.  
  153.     Uninstall:
  154.  
  155.        Use the combination Control-Qualifier-F1 to uninstall Mach or MachClk.
  156.  
  157.     Toggles:
  158.  
  159.        These key combinations can be used to toggle specific features.
  160.  
  161.         Ctl-Qualifier-
  162.           F3  Sun mouse.
  163.           F4  Click to front.
  164.           F5  Screen shuffle.
  165.           F6  Double control.
  166.           F7  Alternate/Amiga qualifiers.
  167.           F8  Clock. (MachClk only)
  168.  
  169.         F3-F7 are displayed in the clock as [scmda].
  170.  
  171.     Instant blanker:
  172.  
  173.           Ctl-Qualifier-F2  Causes the screen to go blank immediately.
  174.  
  175.  
  176.  
  177.     EXAMPLES:
  178.  
  179.        Run Mach -2 -m -s df0: df1: "dir\n" "copy " "" "run sys:system/rollodex"
  180.          This maps
  181.              Alternate-F1 to  df0:
  182.              Alternate-F2 to  df1:
  183.              Alternate-F3 to  dir + return
  184.              Alternate-F4 to  copy
  185.              Alternate-F5 to  nothing
  186.              Alternate-F6 to  run sys:system/rollodex
  187.  
  188.          The options set the acceleration factor to 2, allows the normal use
  189.          of Left-Amiga-M, and disables the sun mouse feature.
  190.  
  191.  
  192.        Run MachClk -a -0 -c -b12 "run df1:wp\n" +5df0: \s\c\1 \c\A\0 dir\n\A\1
  193.          This maps
  194.            Amiga-F1 to  run df1:wp + return
  195.            Amiga-F5 to  df0:
  196.            Amiga-F6 to  Shift-Control-F1
  197.            Amiga-F7 to  Control-Amiga-F10
  198.            Amiga-F8 to  dir + return + Amiga-F1
  199.  
  200.          The options set the acceleration factor to 0, the function key
  201.          qualifiers to the Amiga keys, disables the click to front feature,
  202.          and sets the waiting before blanking to 12 minutes.
  203.          The clock is placed in its default position and the beeper interval
  204.          is the default 15 minutes.
  205.  
  206.  
  207.        Run MachClk -k200 -t30 -4 -a "diskcopy df0: to df1:\n"
  208.          This maps
  209.            Amiga-F1 to  diskcopy df0: to df1: + return
  210.  
  211.          The options use 200 for the clock's left edge, sets the beeper
  212.          interval to 30 minutes, the acceleration factor to 4, and the
  213.          qualifiers to the Amiga keys.
  214.  
  215.  
  216.  
  217.     REDEFINING:
  218.  
  219.        Mach may be run again to redefine hotkeys or set the blanking
  220.        time delay or the beep interval or to change the toggles.
  221.        For example, after Mach is running, typing "Mach -6 +5df0:"
  222.        will change the acceleration factor to 6 and redefine F5 to "df0:".
  223.        Only the clock position may not be changed this way.
  224.  
  225.        Mach -b10 +3CCC +2BBB +5EEE FFF
  226.          This redefines
  227.            Qualifier-F2 to  BBB
  228.            Qualifier-F3 to  CCC
  229.            Qualifier-F5 to  EEE
  230.            Qualifier-F6 to  FFF
  231.  
  232.          and resets the blanking delay to 10 minutes.
  233.  
  234.  
  235.        Mach -eWack
  236.          This changes the Qualifier-ESCape command from NewCLI to Wack.
  237.          Remember, the executed command will have the same size stack
  238.          as Mach.
  239.  
  240.  
  241.     MISCELLANEOUS:
  242.  
  243.        Note that anything after a semicolon is treated as a comment.
  244.        If you are typing this in from the CLI, when you reach the end of
  245.        the line, don't hit return and you can continue mapping up to 255
  246.        characters (including run mach [options]). If you are using an editor
  247.        or word processor, use one that can handle long lines. You can use
  248.        Ed but you need to use the command SR or EX. You can then put this
  249.        in your startup-sequence.
  250.  
  251.        I have found that the hotkeys do not function properly with the
  252.        program Sili(Con:).
  253.        Let me know if you find other incompatibilities.
  254.  
  255.        If you do "stack 2000" before you run Mach, it will use about
  256.        16k. Be sure to reset your stack to 4000 or higher after this.
  257.        MachClk uses about 4k more than Mach.
  258.        If for any reason Mach fails to run (e.g. no free signals, no
  259.        input.device??) it will use a return code of 10 or higher.
  260.  
  261.        The NewCLI brought up by Qualifier-ESC will have a stack the same
  262.        size as Mach. Many programs that you may run from this CLI need a
  263.        larger stack so either run Mach with a larger stack or, after you
  264.        get a NewCLI, use the stack command to set your stack to a larger
  265.        value. If programs mysteriously crash when run from the NewCLI, it
  266.        may be caused by the stack size.
  267.  
  268.     Hidden Control Feature:
  269.  
  270.        If you happen to be a one handed typist, you know what a pain
  271.        it is when you need to do a Control-F10 or any combination of
  272.        the Control key and a key on the right side of the keyboard.
  273.        If you put -d on the command line, you can still use the Control
  274.        key in the normal way but if you hit it twice in a row, the NEXT
  275.        key will have the Control qualifier added to it. This excludes
  276.        the shift, alternate or amiga keys so, for example, ctl-ctl-f10
  277.        is the same as ctl-f10 but you don't need to hold down the control
  278.        key. Ctl-ctl-shift-p is the same as ctl-shift-p.
  279.        Note that this is normally disabled unlike all the other features.
  280.        On/off toggle: Control-Qualifier-F6.
  281.  
  282.  
  283.  
  284.        Copyright 1987 by Brian Moats
  285.                          Polyglot Software
  286.                          10431 Ardyce Court
  287.                          Boise, Idaho 83704
  288.  
  289.                          PeopleLink - BrianM
  290.                          CI$        - 76167,2334
  291.  
  292.        This program may be freely distributed but may not be used in any
  293.        commercial product without prior written permission.
  294.        Source available. Donations accepted.
  295.  
  296.  
  297.  
  298.  
  299.   Other programs from Polyglot Software:
  300.  
  301.   M18Cheater - Lets you cheat in Mean 18 by causing your opponent to
  302.                slice. Public domain.
  303.  
  304.   FunBut - Lets you use the F1 key instead of the left mouse button.
  305.            It's useful when playing games like Defender of the Crown
  306.            because it sends repeat mouse clicks.  Public Domain.
  307.  
  308.   Dominoes - 3d graphics, instructions, tutorial. More entertaining and
  309.              challenging than Shanghai.  $24.95
  310.  
  311.   The Crossword Creator - Make or solve crossword puzzles. 40,000+ word
  312.                           pattern matching dictionary, med-res or interlace,
  313.                           IFF compatible and many more features. $49.95
  314.  
  315. *****************************************************************************
  316.  
  317. EA-FIX
  318. FixBoot 0.0, Copyrighe © 1987 by Jerry Masker, Getzville, N. Y.
  319. This program may be copied and used freely as long as the original copyright
  320. notice in the program is left intact.  The author makes no warranties of any
  321. kind about this program - USE AT YOUR OWN RISK!
  322.  
  323. Certain early programs for the Amiga were not designed with expanded memory
  324. in mind.  Some of them auto-boot as a workbench disk, thereby precluding the
  325. use of the NoFastMem program supplied with the Amiga 2000.  This program has
  326. been implemented to solve that problem.  Some of the programs this program
  327. effectively fixes include Arcticfox and Skyfox.  It will also work with
  328. Deluxe Print, although the NoFastMem program could be placed on the disk
  329. and executed manually.
  330.  
  331. This program reads in the bootblock of the requested disk.  It then copies
  332. the existing program boot code down in the bootblock and inserts a small
  333. segment of code which, upon booting the disk, eats all the available
  334. expansion memory.  A new blotblock checksum is calculated and stored in the
  335. bootblock, and the bootblock is written back to disk.
  336.  
  337. To use this program, setup using the following CLI commands:
  338.  
  339.    copy FixBoot ram:
  340.    cd ram:
  341.  
  342. Then, REMOVE ALL DISKS FROM THE SYSTEM in case you make a mistake.  Insert
  343. the disk to be repaired, with write enabled, in any of the drives and type:
  344.  
  345.    FixBoot <drive number>
  346.  
  347. Notes:
  348.  
  349.    1. Use a COPY of the disk to be fixed in case something goes wrong! You
  350.       may have to use one of the copy programs such as Marauder if the
  351.       original is copy protected.
  352.  
  353.    2. Error reporting by this program is almost nonexistent.  For example,
  354.       if you forget to write enable the disk, the program probably will not
  355.       report it.
  356.  
  357.    3. The program assumes that there is space available in the bootblock for
  358.       the "memory gobbler" to be inserted.  I have not seen any programs
  359.       where the bootblock contained so much code that this segment could
  360.       not be inserted.  HOWEVER - if you execute this program several times,
  361.       on the same disk, you will be inserting multiple copies of the "memory
  362.       gobbler", and will eventually overflow the bootblock.  Extra "memory
  363.       gobbler" segments typically won't hurt anything unless this condition
  364.       arises; but the old saying "if a little's good, a lot must be better"
  365.       certainly doesn't apply here!
  366.  
  367.    4. The VIP PROFESSIONAL spreadsheet program disk does not have a problem
  368.       with extra memory; you must use it in drive df0: on the A2000.  Its
  369.       problem is that there isn't a drive df1: on some machines, and the
  370.       code searching for drives leaves a lot to be desired.  Anyway,
  371.       FixBoot won't help - it only hurts by reducing the size of the
  372.       spreadsheets the program can handle.  (Also, with VIP, don't forget
  373.       to change stack to 40000 if you have extra memory installed.)
  374.  
  375.    5. See also my program HackerFix to repair Hacker I disks.  FixBoot
  376.       is not needed for Hacker I.
  377.  
  378. *****************************************************************************
  379. Virus-Checker.Doc
  380. This program can check for the presence of either of the two currently
  381. known Amiga viruses.  It can check for the presence in memory and
  382. optionally on a specified disk drive.
  383.  
  384.   If found in memory, it will clear out the offending virus.  If the virus
  385. is discovered on a disk, you may use the DOS command INSTALL write a new
  386. boot track and clear the disk of the virus.
  387.  
  388.    CAUTION -- using the INSTALL command on some commercial (game) disks
  389. may destroy the copy protection and render the disk unusable.
  390.  
  391. *****************************************************************************
  392. WBDepth (c) Copyright 1987 by Andry Rachmat
  393.  
  394.     Have you read the info on how to modify KickStart disk so that
  395. you can have 8 colors on the Workbench? Interesting, isn't it?
  396.  
  397.     The unfortunate things are you, 500 & 2000 & kickstart on the rom
  398. owners, are left in the cold, and it is a hassle if you want to change
  399. the depth back and forward (i.e. you need to reboot with different
  400. kickstart disk everytime).
  401.  
  402.     Well, here comes 'WBDepth' to the rescue....
  403. What WBDepth does is simply changes the number of planes of the WB screen
  404. on the fly. No need to reboot, no need to bother with kickstart disk.
  405.  
  406. Usage:
  407.     WBDepth [number]
  408. Example:
  409.     WBDepth        -> will show the current WB screen parameters
  410.     WBDepth ?    -> will show the usage
  411.     WBDepth 1    -> change to 1 planes (2 colors)
  412.     WBDepth 2    -> change to 2 planes (4 colors), standard
  413.     WBDepth    3    -> change to 3 planes (8 colors)
  414.     WBDepth 4    -> don't try it, unless you are ready to reboot
  415.  
  416.     This is CLI only program, [number] is a single digit number 1-5.
  417. However, don't use number greater than 3. The ability to use the number
  418. greater than 3 is just there to show that the system will screw up,
  419. and will hang, and perhaps will guru (CATS: what is wrong here ?).
  420. If you want speed use 1, and if you want fanciness use 3 (8 colors).
  421.  
  422.     To see the speed variation, here some timing for 'Type'ing a
  423. 4000 bytes text file on CLI (Blitzfonts installed).
  424.     3 planes: 15   seconds
  425.     2 planes:  9   seconds
  426.     1 plane :  5.5 seconds
  427. (note: no wonder if 'Blitz' can go that fast, being written is assembly
  428. plus only using 1 plane for sure will help the speedup).
  429.  
  430.     8 colors will be suitable for self-bootable graphics demo disk.
  431. In that case you might need to grab 'SetColor' on the 'WBench8.arc'
  432. (this arc file contains the infomation on how to modify the kickstart
  433. disk to get 8 colors, and some utility programs). Setcolor will allow
  434. you the change the extra 4 colors (color 4-7) automatically. For
  435. manual changes you can use 'PopColor' or 'ColorDemo'.
  436.  
  437.     All programs mention here are PD or Shareware, and so does this
  438. program. It is a Public Domain, dedicated to ALL PD and SHAREWARE authors.
  439. Thanks for writing GREAT programs for this GREAT machine that we all LOVE.
  440.     Also thanks to Sysops across the nation for keeping PD programs
  441. distributed. I know it is a dirty job, but somebody got to do it.
  442.  
  443.     Finally to you all, AMIGA users, Merry Christmas!!!
  444.  
  445. - Give a big favor will you, spread this program around. Danke!
  446. Plink: A*Rachmat
  447. Other BBSes: I might be there.
  448.  
  449. *****************************************************************************
  450. ScrinkWrap1.0  
  451.   
  452.     This program has been released into the public domain. It may not be 
  453.  sold or distributed in whole or in part for profit in any way without   
  454.  an express written consent from Tony Solomon.  This program and all re-
  455.  lating files may be freely distributed by any means providing this program
  456.  has not been altered in any way.                                            
  457.                                                                          
  458.                                                                          
  459.  Disclaimer:  This program is presented on an 'as is' basis.  I make no 
  460.  guarantees for it's suitability for any purpose whatsoever.  I cannot  
  461.  be held responsible for any damages resulting from it's  use, reuse,
  462.  misuse, or abuse (Whew).   ScrinkWrap © copyright 1987...Tony Solomon.  
  463.                                                                          
  464.  
  465. What is ScrinkWrap?  ScrinkWrap is a program which allows you to resize any
  466. WINDOW (not screen) regardless of its status, size etc.  As long as you know
  467. the windows name, it may be resized!
  468.  
  469. After receiving FACCI (great program Perry! FACCIIs even better) I did'nt
  470. like having the window around (read noticible) all the time.  So I thought
  471. it would be nice to just resize it so small it would be less noticable.  Well
  472. I was just learning "C" at the time and was very busy so the project was
  473. canned (anyway AUTOFACC did a nice job ;-) ).  Recently I had a similar pro-
  474. blem come up where I wanted to get rid of a window with no sizing gadget, hence
  475. ScrinkWrap.  Originally ScrinkWrap just scrunk AmigaDOSs window down to 1X1
  476. just like a similar program called Tiny.  I thought it would be fun to resize
  477. any window (not a very nice thing to do but fun anyway), so ScrinkWrap grew
  478. to where it is today.
  479.  
  480. Great so how do I use it.  I'm glad you asked.  ScrinkWrap is pretty easy to
  481. use, the following is a brief rundown of its syntax:
  482.  
  483. ScrinkWrap                          - Will look for the window named 'AmigaDOS'
  484.                                       and scrink it to 1X1.  Great for Work-
  485.                                       bench users who want a CLI around!  To 
  486.                                       use it just click in the upper left-hand
  487.                                       corner of the screen, and then type your
  488.                                       command.  You may also go to the upper
  489.                                       left corner and drag the window open 
  490.                                       again!
  491.  
  492. ScrinkWrap <anyletter>              - This will run thorough the list of active
  493.                                       windows and write them to the screen, 
  494.                                       providing the letter you use is not a 
  495.                                       current window title.
  496.  
  497. ScrinkWrap New                      - Will look for the window titled 'New'
  498.                                       (note upper/lower case) and scrink it
  499.                                       to 1X1 pixels.
  500.  
  501. ScrinkWrap New 640 100              - Will look for the window titled 'New'
  502.                                       and will attempt to resize it to 640X100,
  503.                                       at pixel position 0,0.
  504.  
  505. ScrinkWrap New a                    - Will autosize the window titled 'New'
  506.                                       (CLI only!) to a size easy to locate.
  507.                                       This is usefull if you have scrunk a
  508.                                       window and can't find it.
  509.  
  510. ScrinkWrap New A                    - Will autosize the window titled 'New'
  511.                                       (use on Workbench windows!! not 'a')
  512.                                       to a size easy to locate.
  513.  
  514. ScrinkWrap "New CLI"                - Will resize a window titled 'New CLI'
  515.                                       (note the quotes for the space in the
  516.                                       filename) to 1X1 pixels.
  517.  
  518. ScrinkWrap ""                       - Will attempt to resize a titleless
  519.                                       window to 1X1 pixels.
  520.  
  521. ScrinkWrap ?                        - Displays a help screen.
  522.  
  523.  
  524. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  525. 26-Dec-1987
  526.  
  527. PLEASE READ!!
  528.  
  529. Known problems/side-effects.  Since some windows were not designed to be 1X1
  530. pixels.  DOS sometimes has problems redrawing the title bar and left border.
  531. If this occurs, just resize the window and hopefully DOS will redraw.  
  532. Normally the upper 1/4 of the left-border will disappear.  This will not 
  533. affect the operation of the window it is just a little annoying.  ScrinkWrap
  534. does NOT mess with MinWidth/Height of windows, so if a window has been scrunk
  535. and you attempt to resize it, it will only scrink back to its minimum dimen-
  536. tions.  If you forget and use the 'a' autosize function on a Workbench window,
  537. you will get a Guru (use the 'A' function for Workbench windows).  ScrinkWrap
  538. does not work correctly under Shell 207, make sure (if you are a Shell user)
  539. to start a New CLI before using ScrinkWrap.  Or if it is in your startup-
  540. sequence, make sure it is before your call to Shell.  ScrinkWrap was designed
  541. for experimentation.  Please have fun with it, it was a two day hack so it 
  542. probably has a few bugs.  I use an A1000 w/2 drives and a 2 meg StarboardII.
  543. I have not tried it on any other system but my own so I would appreciate 
  544. hearing your bug reports/comments etc!
  545.  
  546. Please send any feedback/comments to:
  547.                          Tony Solomon     PLINK ID - Tony*S
  548.  
  549.  
  550.  
  551.  
  552. Thanks to M. Stolnicki for the examples.
  553.  
  554. **************************************************************************
  555.                              DropCloth
  556.                             Version 2.2
  557.                           By Eric Lavitsky
  558.                           10-November-1987
  559.                      (C) 1987 by Eric Lavitsky
  560.  
  561. DropCloth lets you place a pattern, a 2 bitplane IFF image or a
  562. combination of a pattern and image into your Amiga's WorkBench
  563. backdrop.
  564.  
  565. To use DropCloth from the CLI, type:
  566.  
  567.         1>dropcloth [-d number] [-i filename]
  568.  
  569. where "number" is between 0 and 64 inclusive and "filename" is a
  570. valid 2 bitplane (4 color) IFF image file. The number specifies
  571. the intensity of the pattern used for the backdrop, 0 will render
  572. a clear pattern    into the display, while    64 will render a solid
  573. backdrop. If you don't specify a pattern, DropCloth will default
  574. to 0, a clear pattern. To remove DropCloth and any pattern or image
  575. it has rendered into the backdrop, simply run DropCloth a second
  576. time. It is generally recommended that DropCloth be "RUN" or
  577. "RUNBACKED" from the CLI.
  578.  
  579. To use DropCloth from the WorkBench:
  580.  
  581.         Double click directly on the DropCloth Icon or
  582.         Double click on an IFF image Icon whose default
  583.         tool points to DropCloth.
  584.  
  585. The image must be an IFF image (ILBM). Change it's default tool to
  586. point to DropCloth. Assuming DropCloth resides in the C: directory,
  587. select the image icon and then select "Info" from the WorkBench menu.
  588. The next to last field in the Icon is the default tool:
  589.                   ____________________________
  590.         DEFAULT TOOL  | C:DropCloth              |
  591.                   ----------------------------
  592.  
  593. If your image does not have an Icon, you may create an Icon for it by
  594. copying one of the Icons normally created by DPaint. If you want 
  595. DropCloth to render a pattern, specify the pattern you want in the
  596. ToolTypes of the DropCloth Icon (if you are rendering a pattern only)
  597. or in the ToolTypes of the image Icon (if you are rendering an image
  598. along with a pattern). Again, select the Icon in question, pull down
  599. "Info" from the WorkBench menu, go down to the ToolTypes field, select
  600. "ADD", click in the ToolTypes text gadget and enter:
  601.         _________________________________
  602.         |PATTERN=n            |
  603.         ---------------------------------
  604.  
  605. where n is again a number between 0 and 64 inclusive.
  606. To remove dropcloth and any pattern or image it has rendered into the
  607. WorkBench backdrop, simply run DropCloth a second time by double
  608. clicking on it's Icon.
  609.  
  610. - Features and Limitations
  611.     - Current version wants 640x200x2 images - patterns work fine in any
  612.     size screen including "morerowed" (overscan) screens.
  613.     - We make a few assumptions about the IFF image that limit us to
  614.     accepting only 2 bitplane images.
  615.     - The fuel gauge in main disk windows is not properly refreshed by
  616.     RefreshWindowFrame() ... (sigh)
  617.     - Requires V1.2 or greater of KickStart to run
  618.  
  619. - Future considerations
  620.     - We could give an option to add bitplanes to the workbench screen for
  621.     images > 2 bitplanes or try and map colors to 2 bitplanes. This would
  622.     slow things down and eat lots of CHIP memory (ugh!).
  623.  
  624. HISTORY
  625.  
  626. - How it started
  627.     - When I first got my Amiga way back in August '85, I was
  628. dissapointed to find that I couldn't put an image or pattern in my
  629. backdrop like we could on the AI workstations and Macintoshes at Rutgers.
  630.     - One day, someone posted on the net that at a gathering in the
  631. Apple Computer cafeteria one day, Andy Hertzfeld, of Macintosh design
  632. team fame, was quoted as saying that the Amiga wasn't a serious machine:
  633. "C'mon,    a user interface with windows the same color as the screen?!!!".
  634. I vowed that one day, I'd show him! :-)
  635.     - One day, in one of our usual hacking sessions, Perry Kivolowitz
  636. and I started fooling with the layers library to see what we could make it
  637. do.  It was here we discovered that the WorkBench backdrop was a backdrop
  638. borderless window and that we could look at it as a layer.
  639.     - On Sunday February 8th, 1987, Perry and I decided to take a trip
  640. over to Rutgers (just 10 minutes away) to take a look at how the Suns and 
  641. Macintoshes allowed you to change backdrop patterns and images.
  642.     - That same night we went to his apartment to begin writing our
  643. own backdrop enhancer for the Amiga. At    eight o'clock the next morning we
  644. had DropCloth in what essentially became release 1.0 (it was heavily
  645. cleaned up first :-)
  646.     - We had hoped that DropCloth would be part of a complete package
  647. of tools and enhancments for the Amiga,    but soon decided that it couldn't
  648. be supported well since it could degrade the preformance of the workbench
  649. (notice the delay incurred from clicking a disk icon to it's being available
  650. to be dragged). So, the project was shelved in favor of other things.
  651.     - Suddenly, we saw other people on Usenet attempting the very same
  652. thing (doesn't it always happen this way, Amiga hackers are always on the
  653. same wavelength). We posted the V1.0 binary so people could have patterns
  654. at last. The V1.0 release was also placed on Fish Disk 59
  655.     - About two weeks before the first AmiExpo in New York,    Perry and 
  656. I were talking about DropCloth again. He asked me if we really couldn't
  657. put an image into the backdrop (at one point we thought we couldn't for
  658. some silly reason). A large rock promptly hit me in the back of the head
  659. and voila! (Get the source to see how it's done).
  660.     - Perry's wrote the initial code for rendering more than just a 
  661. pattern into the backdrop for a nice little demo at AmiExpo. I took his
  662. prototype and extended it to allow all IFF images and put in WorkBench
  663. support as well.
  664.  
  665. - What it does
  666.     - Things we had to realize about the workbench:
  667.         - The Workbench renders it's icons into a 
  668.         backdrop borderless window.
  669.         - When an icon is moved SetRast() is called to
  670.         clear the layer and all the icons are redrawn.
  671.         This is fairly fast, but destroys anything you
  672.         render yourself into the backdrop.
  673.     - So, get the source to see how it's done! (plug, plug :-)
  674.  
  675. Thanks to:
  676.     Perry Kivolowitz    - Spurring me on, helping fix my bugs
  677.     Jon Trudel        - The DropCloth Icon
  678.     Andy Hertzfeld        - The original fire (
  679.  
  680.  
  681. Copyright and Shareware Notice:
  682.  
  683. DropCloth is Copyright 1987 by Eric Lavitsky. DropCloth is a shareware
  684. product. If you feel this product enhances your environment, please
  685. send a contribution to:
  686.  
  687.     Eric Lavitsky
  688.     34 Maplehurst Ln.
  689.     Piscatway, NJ 08854
  690.  
  691. Keep the shareware concept alive! Suggested donation is $10. Donations 
  692. of $15 or more will yield a disk replete with the source code to the
  693. latest version of DropCloth ($20 would be greatly appreciated). The 
  694. source code was written using Manx Aztec C, V3.5a (Yes Jim, a plug! :-),
  695. remains proprietary to Eric Lavitsky and may not be redistributed or
  696. sold without the expressed written consent of Eric Lavitsky. The 
  697. executable version of DropCloth and it's associated icons may be freely 
  698. redistributed provided this document is included in the distribution.
  699.  
  700. ****************************************************************************
  701.  
  702.